add global_opts and service_opts overrides

[issue #8]