Fix script name.
Remove unused code.