Add script for calculating brightnes values