fix daemon string check in reducer, rm local output file in run.sh