Fixed everything being in the head of the file