uploading directory setup script