added switch version command