I need to write better documentation for these scripts