One clich build fixes.
Use env varaibles in config file.