Select a template & generate