fix filename and version detection
Merge pull request #46 from fape/filename_fix

fix filename and version detection