Adding script to handle the penchant calculations