parameterize some config