Add version header to requests
Minors changes
Bug fixings