Changed all dynamic routes to Segment