makefile now uses the functional template file (requires some user input)