Updated script for travis