def db_connect(base, model_name='dss'):
    try:
        path = 'sqlite:///' + os.path.join(os.getcwd(), base, keyword_dbs[model_name] + '.sqlite')
    except KeyError:
        path = 'sqlite:///' + os.path.join(os.getcwd(), base, model_files[model_name].split(".")[0] + '.sqlite')
    print("Connecting to: ", path)
    return create_engine(path)