Tested and updated for Ubuntu 14.04