adding most recent updates to imaging debugging