Core: Save variable even it's set in $environment