Added Python script for dealing with messages.