change the output to stdout and add some parameters
Merge branch 'master' of github.com:agate/automate_polygon_drawing