writePlotScripts

Write plot scripts when saving the session