Simple script for running from node.js