Run sync with configfile

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>