added conditional to only install rvm et. al. if not already installed