Added missing information to export and context commands for logging events