ScriptInstance
cleanup + documentation
#622
Merged
ScriptInstance
cleanup + documentation
#622