rsbatch: compatability changes for ubuntu