Added -d option to also execute DatabaseInstall and CodeInstall on installation.