Updated README for detect method
removed debug puts statements