Plotting stuff for the main simulation script
Loads CCD from script properly. Now usues unified function.