Started adding the header, also stole a UUID function.