fix a bug in script.cpp
fixed a bug in script
played with lod a bit more