Added (untested) discipline script.