adapt translate script to new ALERT system