Added option to limit auto P4 operations to a set of directories.