Woodstock man charged with writing fraudulent scripts for prescription drugs