Correct peter script. (finally)