Update bash_script_template.sh

Update, tested