added -- possibly broken -- option for specying base image format