integration with envify, attached adapter, minor improvements