Adding mac_env