Travis ci script fixes