MNT: Moved scan_command to the log book