Fixing the script to be executed in travis