Update script for ST3
Fix references by namespacing
Fix reference to constants
Fix all the namespacing references
Fix copyright