In an attempt to payback an overly aggressive substitute gym teacher, Bart accidentally destroys Willie's shack with a solid ice dodge ball. Marge takes in the homeless janitor and Lisa decides to offer Willie a better life by refining him for her upcoming science fair. After an arduous regiment, Lisa turns the curmudgeon into the talk of the town. Willie lands a hosting position at a fancy restaurant where he learns that he was happier working with the thankless children at the elementary school. Homer fears changing trouser styles when he discovers the factory that makes his classic blue pants is going out of business. Homer saves his ass by walking around with "blue pants" painted on his head which creates a demand around town.