Catch exception if db table already exists
Add more checks for running with database