add sdk.env autogen and appent to env