Adding script to pull all submodules.
Pulling main repo as well as submodules.
Adding routines to push/pop output functions.
Forgot MG_TOUT_POP in DLM.