added example files and templates; updated script