reordered runvcommand functions as they were not keeping params