Bugfix; fix TR setting and script filename