Adding Deleted Quit Options Function From Previous Merge