correcting file location for template use