Added function to delete configuration