changes in header and upload process