use the perferences in config.xml when plugin init