fix visible_by_enemy team and copy scripts