Modifcations to hook up to SmartClip API