improve rbenv script