updated automated run factory to handle flexible definition of special labnumbers