Fix argument-passing to the sync scripts