Changed dnet button code