adding a new option to enable URL restriction
to specific patterns