adding RVM scripting support