Consolidated scripts into two files.