Seems like you could abstract away the `/1.2/os/` to either not have it repetitive for every `baseurl` or as an argument for OSE version (and not pin these scripts to 1.2)