Added a selector for version to use the version parameter