Purple repo rewrite