Fixed sherlock script