Fixed error with config options not being set