Updated scripts to work with new GUI