trying fix scripts