Added function to allow sudo edit
Added saving of variables by desktop