update with chai config, and don't use lib folder by default