Add async to script loader