Added failOnWarn option + fixed compressOutput