end script