Modify and prepare for upload