fixing script order for travis