get alerta script working