Altered test script and made GUI run again after running script