Added scripts to layouts