Piped the rm command to /dev/null to prevent it appearing in the log