updated to support ubuntu 14.10