Fixed bug, where database would not be created, because of mismatched variable names in the script.