add lognum script.