Rewrite chests