Some updates to Angelscript handling