Added script to construct template messages file.