Added sharing ability from NextLight's pull request