adding new script to identify bright regions