Replacing many scripts and adding some functions to the global file to be native 1.0 scripts.