add main entry; upgrade to 1.3.8