Adding a flag in to turn on setting api version in the header. Defaulted to false