keep compability with previous way to configure the gem