Rewrite utils and repository
Segment recipes