Use the last frame's class path for executable

Fixes #26
Merge pull request #27 from jfilak/gh26

Use the last frame's class path for executable