use flags to allow selecting port/dbhost