Modified prediction script to plot stuff