Added total downtime in a text file, adjusted default fail count to 5