Rewrote to use Ubuntu 12.04