Edit Scripts to be Compatible with Mac
This MR addresses errors users were getting when they ran the scripts from a MacBook. These changes should not be breaking for Windows users and allows Mac users to run the scripts without error. It changes python commands to be python3 commands, and changes readarray commands, which are not supported by a Mac, to loops through an array.