Change ENVIRONMENT VARIABLE
Fix capture method