Passing config to label