fixed Homegeneous Field example (script variables were missing)