Updated scriptfile