refactored extern scripts
tried adding more terrain stuff. still struggling with several colors. performance!