added printlower function to boxgen