Fix for deprecated util.exec.