Scripting now working