fix router express syntax. Fixes #224
update sync script