Create global context id, fix a few script inconsistencies
Whitespace