New script to determine canopy hght