Added a check for being on the latest version before appluing Csmart 5 patch