added sessionStorage.diagcount and add an additional sheet for every set of diag output