fix scropt