Updated desktop.sh to be more efficient.