Devised new algorithm to upload OGS
More informative warning output
Minor changes