Adding site directory mode management.