revert script_template to original