changed how commandline switches work