Fixed aDayPasses();
Added invlaid config file exception.