get rid of not required code, replace images and links properly