add imagec and image2 commands (may be removed later)