cleanup and proper usage for samba share