Updated to able run on ubuntu 12.04 LTS