new functionality for the sync scripts