Fixed print lines to correspond with 3.0 syntax