Fixing script errors in prefabs and adding texture to target material