This is very poor documentation imo. Adding a complete example is just a matter of few more lines instead of the weird "don't forget the shebang and chmod"