Remove old unused variables from script.