fixed bug in .profile that broke it when not run in bash