Added setting for upload directory