1) rewrote urls in css, 2) using python logging system