add scripts to layout, extend index layout
update layout