Final fix for #5, make sure supposed global is global for secondary scripts