Add missing commit statement at the end
Fixes for the transition script