Removed bad PATH
Fixes in bash_profile and created a .functions file