Added GUIs for data analysis. Changed calling back to a script.