Added elevationabove and elevationbelow conditions