Uncommented changes, finished script.