Removed debug lines
Improved sharing functionality