Add a modified version of Wailord's script.