Update the upload screenshot code