In that episode, Bert Willoughby, owner of the Eagle Hotel, is also a sheriff, gas attendant, and others, and also changes character by changing to different hats like Mr. Simms does.
There is a man in this episode who has multiple jobs. This is very similar to the film Are We Done Yet. In which a family are in the middle of nowhere and there is one man who changes his hat accordingly.