scripts for habitat modeling