Add stepOut function to scripting