use new common lib and change dir