Moved the hs lines to before PrintData.