modified installation script for Ubuntu 14.04 --jingzbu