add layout and env var