added per environment instance support to Maui (and thus, to DB's)