exiting on invalid argument, updating bashrc generator to use arguments