Moved the global declaration.

It will need to be moved when we implement our shell as well.