added Rescan and Quit commands