updated sync scripts