Modifications to the sample script.