Now deletes old .cfg file