Starting event listener on loading mod