Removed SmartApp code, as it is no longer necessary