Fixed constructor not parsing config options