hashign and replacing in pages is done
amdclean now used to compress, but not in html yet