adding begin script