add flow and cfg file