Generalized the script by using a few more variables. Set them for my new laptop using Unity rather than Gnome.