Begin moving certain variables to global scope