add compression, fix relative urls