connection map param for permissions
Updated docs, minor bugfixes