Add code to populate fact table and point to a differ database