made previewing drafs an option configurable in config.py