scripting now works