Fixes in script for Ubuntu Server 14.04