Script processor constructor fixed