Fix script oreding for travis ci