moving invocation out of config