write version info