Added some persistance, fixed paths in script, modified UI