fixed bad database call for ibd8585; changed to production filenames for where the data is entered