Added refs config in controller