fix dry run functionality
improve logging messages