Switches global env file location to platform appropriate path
Uses proper string comparsin for config command checking
Sanitizes configuration keys and values