Changes order to load variables.