Error on simulation of Gertler and Karadi (2011) model

I’m trying to run the code for GK11 model from the Macroeconomic Model Database, but I’m bumping into this error: “NK_GK11_rep_steadystate: function called with too many inputs”.
How do I fix this? (.mod and steadystate.m files attached).

NK_GK11_rep_steadystate.m (5.8 KB)
Getler2011.mod (10.8 KB)

That is almost always a problem with version compatibility.