Prepare generator for publication