Changed the endgate output file from the long version to a simplified endgate.ts file