Added flags to databaseCommands

-n to start from a fresh database (drops tables from the DB) and -o
otherwise