updated to use the intelligent.li smart package