script edits, collections syncing, and code cleaning