sh does not like empty then blocks, so added a :