Added the delete option and fixed some stuff