added commands to use sudo tee to write the file and contiune, quit, force quit