Add possibility to run mgd2 setup in standalone mode
change env flag to specify db type, skipping db setup should be done by removing
the script hook instead