check library is there before import
added config command, fields command