trying to make sh friendly