changed bash_profile for better mac/linux compatibility