Trying to get program to work on ubuntu env.