New scripts added to tools. Prepared for more tweaking to the detection algorithm