updating to work with ubuntu 12.04