Build needs access to config_file
Adds comments to build
makes build use arguments instead of old globals