First commit for new gui script, buggy and broken