original script to upload plugin package on the server from A. Pasotti and  V. Picavet