data_dir path now passed to local workers created by the optimizer