ADded minimal code for imgadm datasets.