adds env definition to ignore
modify behaviour of main button to keep previous requests