Removed ded dependency on script load order. This avoids situations where the events are attached before Init is called.