updated version number and copyright year
changed a line for logging