add multiline capability, backward compatible with old configuration files