Moves writing into seperate method
Bumps version