Saving variables to global environment

The order a <script> is loaded and then run.