Converting Flow variables to global variables

Follow