Remove script extension from mp_plot