fixed template file path; added dependencies