adding option to the sync script to skip .log files