Use of get_command in the imager