fix scripts and travis