avoid forking is probably ensuring that the variables get set properly.