>port the logic to a script
>cant figure out how to make the arrays of activate refs work
least there are no syntax errors