Refactored to Scriptforge