run_segmentation now parameterized
cleaning up im_hmi