Fixed config file reading for when no file