Revert "0.4.0"

This reverts commit 7beb4ee35bf0d3c810cffc99d8fcb6c2bf5019c7.
Rm debug logging
Discard sh intermediates