Update string to lower function (use bash instead of python)