adding support for configurable resources and making improvements to sharing process