Activated tie of events from SCH and main.js