Update tor script to copy resource files.