Add callback to config