import argparse
import sys

from keybaseproofbot.config import config

if __name__ == "__main__":
    parser = argparse.ArgumentParser(
        description="Unofficial Keybase Telegram User Proof Bot")
    parser.add_argument(
        '-c',
        '--config',
        nargs='?',
        type=argparse.FileType('r'),
        default='settings.py',
        help="Config file to use")
    args = parser.parse_args()

    exec(args.config.read(), config)
    from keybaseproofbot.bot import main
    main()

@@ -9,16 +9,26 @@
 rgparse%0A
+import os%0A
 import s
@@ -418,16 +418,252 @@
 args()%0A%0A
+    if os.getenv('FLYNN_POSTGRESS'):%0A        setattr(config, 'DATABASE_URL', os.getenv('DATABASE_URL'))%0A        setattr(config, 'GROUP_ID', os.getenv('GROUP_ID'))%0A        setattr(config, 'TG_TOKEN', os.getenv('TG_TOKEN'))%0A    else:%0A    
     exec

Make work with flynn