Modified media databases and import db functions.