fix scripts ref