Fixed the GetMessages command to now work