updated for ubuntu 14.04