add selector to choose source accroding to geology location,and some other fix