fixes sometimes generating incomplete files
changes proposition in readme