Bug fixes and added lastModified to the db maintenance programs.