scripting pitfall 2