Use templates in template dir to create dag and condor submission files