Fixed mode switching and added some batch files

Feel free to not take in the batch files, they're convenient for me but maybe not others.