Replacing ffi with child_process for running bash scripts