use badge replace install code