Updated all the relevant scripts to the algorithms I use in the other repos