Fixed issues with the way depth of coverage was being calculated and fixed issue with making script.