Add node directive at top of script.