Updated plugins uploading logic.
Updated plugins download logic.