scripts commented + emilia's refactored scripts, without GUI for now