moved version string to log creation