add env for xsrc