bug fix: prints dry statement when not in dry run