Added load event listener