Else alert and error count has been added with comments for each line.