Enhanced build scripts to modify configs