This function relies on the util file that does not exist anymore. Also it does not contain the changes to plot tissue masks. Remove it or fix it.