Updated to work with the latest sitecoreintegration