added global varibright & maxsize commands to router