I'm not sure when or where this app is first imported, triggering this code.  I had seen elsewhere to include this as a middleware.  Because we're not sure when this would get run exactly, it might be good to move it elsewhere.

But I have no suggestions at the moment, so I'm fine to have it here and move it at a time we find another solution that is better!