setup for local and remote use cases