added scripts to layout