update handling of static files
do database discovery