Formatting environmental variables