fix: gallery sets proper http header, rebuild script works now