fix scripts.