Add tsmerge script written by Michael Mayer