I'm running into a problem that I'm hoping someone might be able to shed light on. I have a script that creates a new record, sets fields, and then inserts a picture (as a reference) into a container field. The script slows down to a crawl when I run it through a button on a layout. But when I open the Script Debugger and click through each step there is no lag time at all. It's very difficult to pinpoint the exact script step that's causing a problem because it functions so beautifully in the Debugger. Any ideas?