updated scripting discussion to include debugging instructions