DELTA_T and improving script