Improve snooper script.