Rework quit to be a command