Added bash_profile support and tweaked vim