Made it rewrite the file every time the thing starts