Rewrite manifest.json after forking