Footprint masks in healpix format are very useful. The random catalogue runner can be extended to output the pipeline flag mask file in healpix format.