Add usage of cfg variables for flow and limit