Changed to oauth-httpclient4
Changed the upload latest location and externalised the scp string