Fix NP in script helper