Fix desktop switching script