Added darwin handling in share creation