change asset directory and asset logic.