improved TRavis script