More global variables

Added more global variables.