Changed version determination.

Added file 'version' as fallback solution.