Removed delete option and fixed extra output line