fixed up ubuntu to make it work on linux