updating script for ubuntu 14.04