updated to support 5.0.32.1 
updated the way version resolution is done