improved asset loading