trials script