To anyone else struggling with Matthias’s script make sure you pay attention to the parameter. Its p1 and not pl.