Adds dry-run and debug flags