Added config to controller