added possibility to use config options