Changes to get environment to run on MAC

Please consider incorporating my edits to get environment running on MAC