misc updates to scripts