convert env variables to export commands