The intervention was a modified version of the Mother-Infant Transaction Program , and comprised eight one-hour sessions during the last week before discharge and four home visits at @ , @ , @ and @weeks post-discharge .