added script to populate the main db cache