fix deciding which script to run on travis