A highly customizable version of the genploy.py