Added customization and letting you choose the environment variable read for the default.