Don't panic if database doesn't exists, better display an error to the user. Make sure the command exits with err signal.