Added forgotten 'rm' command in daemon loop