Added script to get files and updqte database