add relative path in upload options