fix tpl for create new script.
fix some profile.