can now generate template for one model at a time