Added event listener, worked on intelligent sign template and cleaned a bit up