Added method to send active code.