mostly working checkstyle script. Need to add logs