apphance lib compare method
handle apphance imports in version 1.9.6
handle adding apphance in version 1.9.6