updates script files loaded in layout view