change option to delete directory