Finished compare script and generated competition events files and environment files.