Hrrm, fair point. 

I will change to write both out. Without system. the variables will not be passed to any other build scripts or anything. But writing both is not an issue