Add support for custom monitoring script.