adding wrapper to config