changed scripting