allow for alternate db locations

Now if a file path is provided to the init script, we will use that as the
path. We default to the local directory if null.
fixed errors associated with last commit

Needed to detect if an argument existed by checking its length before
attempting to reference the path.

Syntax error in providing incorrect function parameter.
adjusted initializer exit codes