added main uploader script