added chef return for cloud init
better debug logging