Layout to damin, renaming paths