updates to make it run on the desktop correctly.