Use configuration object correctly