add node style error handdling. Add custom directory input. Update all documentation.