fix database create script to accept command line parameters