Change config flag to accept config dir instead of file path