Add security stop. Add console log fallback