Adding a fix for a Mac OSX issue where .profile is sourced instead of