fixes use of rvm and cleans up init script