updated
automatic script for kniting to pdf and docx