updated parameters to mimic sqlcmd
reworked argument checking
reworked checkvoltdbstatus