To be consistent the $_SESSION['switch'] variables currently require the name. Without this switch session variables are inconsistent. This inconsistently caused a problem with creating the recording directory for new domains.