made templates directory for easier change of script