cleanup of unused shell functions