fix script launch