added bash scripts for pixel statistics