TODO: * process everything asynchronously * more example scripts (user contributions welcome)