Made changes to make the application work in ubuntu (non-windows) system