build smartmax and lionheart