support drafts in __main__.py