Set environment before exec to ensure PATH takes effect
Merge branch 'set-PATH-before-exec'

Fixes #103