Modified the script to ignore idle peers. Increased the max depth.