added the main program for uploading folders