Fixed a bug where config file wasn't loaded