GUI working for script generation