adjust scripts for running on Travis