Fix monitoring setup script.