Ironed out the config variable bug