First layout and scripting