Added str_to_bool