Made the console option actually work. Will move it to GUI later.