Move thisdir to the top of the file
Get rid of thisdir
change create_template to print_template
Proper argument parsing in jobs