Modify unlogged share function