Added support of image_metadata flag
Support of usage API call