I'm having a hard time to get this to work with hmp terrains. If someone could give me a hint on how to change the script to work with hmp terrain (and not only mdl-terrain), I'd be extremely gratefull!