Added -d (dry run)