Changed autostart method for desktop programs