fixed flow for commit

Working like a charm now