fix travis script hook