thor staging script