I can look at updating the script to see what went wrong.
In the meantime, you can also do this manually pretty easily:
https://patdavid.net/2012/06/true-pseudogrey-in-gimp.html