added blacklist management, fixed print_only argument parsing