Renamed curl script and merged Tornado code.