trying to fix scripts