Main method now use with-config macro.