Add map regeneration and path generation