That could work. I've checked that process.argv contains correct parameters (and it does). They somehow get lost when loading module. I actually found a place in generated js where an empty array is passed instead of parameters. I'll file an issue for this.