Fixed (and simplified) script startup process; resetting the database
from the command line is now possible again.