fix scripts in travis