Updated to use the releasever variable in the query string