Use network name for database path to support multiple networks
check both arguments