Edited scripts to generate system source files