template into own directory