plot-prompts rewrite