Separated databse into production and worksheet.