added helpful console messages
added "match" config parameter