implement image set command