Improve replace blocks script (typically used to convert obsidian back to lava after clearing the water that made it obsidian in the first place.)