Updated the monitor script to compile message files.