updated for new chef compatibility