RF: Move boxcar modification from the cmdline into the Python API