changing script locations in layout