begin scripting