improved asset loader