Updating script to v2.6

Thanks to 'Toleda' for reporting this bug.