cap change in script file