fix sate script