Working on expanding the scripting API and implementing a proper hook system