Do not output modScript include result w/o explicit string return

Addresses #11705