print more exceptions
set databasefile earlier