Added code to create the job template and G3CPie "controller" file when the job is launched.