Changes to make the app work on Ubuntu system.