added metadata generation for image_readf instruction plus (blah! source reformatted)