Resructure code in recovery seeder