skip notebook generation even if the output format is docx (it was not the case) + others small modications