added web flag option