adds options output-file parameter to updates cases for the rest of the scripts and adds a logging function to open the file and write input
adds options output-file parameter to updates cases for the rest of the scripts and adds a logging function to open the file and write input

dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq