Fill in layout and update paths.