Fix script task for Travis.