Things on the TDS server shouldn't rely on the app context.

Move slugify to individual monitoring scripts