use flags dir for messages from engines