added ratp script