adding version number to logfile