Layout scripts in a table