improve merlot sync scripts