updating the deployment script for Ubuntu 12.04