Fixed adnse toggle, added json output