trying to fix script to run on travisci