Bug fixes
Added regression option