add remote and local pool option