Should append to the log file, not overwrite it? (ie. change > to >>)
Upps, you're right off course :)