split up index.js, examples, more script tools