add Optify code to end of each page