reorganized loading of rvm