Added code to support required version and component version