Move owlPrint directive into right place and fix printing.