Add mgd2 install script for travis