read version string dynamically