mv patch to library to allow role inclusion of module