add dynamic share support