Made edit to quit related commands.