avoid overwriting weightsfile between runs