template-env switched to output directory