adjust nightly and docxgeneration jobs