40.12 layouts (win/linux), fix script typos, roles