init source & config