Updates after testing in ubuntu 1404, may not work properly for older versions