added routes etc to be able to delte bad images