adding scripts and templates