refactoring, ScriptFix template