Added VSM functionality to new rails