Added automatic sourcing of rvm if installed