Modify the def write_before to write_video as write_video fails
Merge pull request #51 from tommybobbins/master

Modify the def write_before to write_video as write_video fails