finished function to find deleted scripts. next, fixing function that finds scripts that have changed.