Change hardcoded version numbers to attribute value