Add conditionals to deal with no SM clientes - sad, but true...