Scripts/Arcatraz: cleanup InstanceScript to make it work with BossAI