Update script to work with Ubuntu 14.04