fixing lava script