bugfix for script genericity