Added if check for rvm script location