fix scdript