Ahh, ok, I skimmed the beginning and they looked the same so I assumed,
The predb is what ddeeds was talking about earlier, the "packaged nzb's" basically, without looking I'd guess it updates that database. Optimise_db does just that, it optimises the mysql database for you(instead of doing it manually), same goes for update_tvschedule and theaters. Just extra little features.