updated version number
Added logging