Script now finds contiuous black pixels