Remarked out PlotPrefs in Pitside. Code runs without error