generate plots scripts works now