Adding debug to seed functions