Explain what goes on when exporting in shell