Updated management script