added config option support