added template files
shell script refers to new location for template files
minor bugfixes
made a better bedpost monitor