Fixed listAllCodes command
Added scheduledBy and scheduledReason