Adding in script to generate feature functions from templates