mods to SetDesktop script