add template.sh and reload.sh