refactored config and removed hatchet