Rewrote mpl_params so that the commands to run are in code cells