Adding switch to delete the profile