Updated to latest version

Added def for restarting
Adding tryexcept statements to prevent crashes when no network
Added subprocess to execute dropbox upload script