Vickram's changes for imagstore.