Write mode to the right file
Bump version