Script for flight height model