Set stage2 to be run in nodejs