Fixed plot_image issues
Still trying to get it to ignore datfiles