Add layout script foundation