add support for nested sh functions