Scripts used for TR server