for local and remote deployment