some ideas for ajax-based progress bar
merge metadata_db
progress bar sort of works