output file as cmdline arg
sync running in step3
logging