refactored scripting