fixed diffupdate binding
updated python documentation snippet
fixed shebang paths

env wastes unnecessary cycles, about 800k per call