Added fixed headings in fixText() and added file constants.php