Updated local sync file structure

Also added --a option to display actions