modified "main" name to "root" or ".", and added support for "insist"