Added rvm scripts support