add rvm style functionality