Welcome to the forums. If you read the entire thread, a community member states what they had to do to get iviscosity's code working.
They also posted errors when asking about it. You're more than welcome to revive that thread if, after attempting the fixes discussed, are still unable to succeed. Post the error you can't figure out, with the modified code you'd tried