fix gproc broken script processing