Improve pyini, support cross section variable referer and lazy process support