Refactors update_sources.pl
Refactors build_sources.pl
Updates config files