Changes done for fixing the upload