Adding set_hls_values function