Added reinit for batch jobs