Changes to use the variable related to dataset name, like a input of the function, to avoid do changes manually to use differents dataset.