Reorder exports and alias to allow alias to reference enviroment variables.