Updated PGN creation for new version of history