Add wrapper for multiprocess scripts.