Fixed internal script template