changes to run under ubuntu 12.04+
changes to run under ubuntu 12.04+
changes to run under ubuntu 12.04+