adding the UPLOAD_DATA_DIR to the main configuration