fix scripts not executing