externalise some config