Order α′2 terms in the gravitational sector of string effective actions with the inclusion of the dilaton field