max upload and more fixes for tar upload
sync by local timestamp
syntax fix