Allows extract_database to be run on any folder