Automatically detect ENV variables