begin script