Make it work when running as a virtual application.