Allow arbitrary environments for node commands and use staging as default.
Basic implementation for execution of node commands.