change scripts location at pages