need to wrap sole logic into a script to have it work correctly on travis-ci