Force python2 and fix flash_finish problems

It turns out the second parameter is the number of calls to finish_block.

Using python2 probably works on all modern OSes (where hashbangs are supported).