change programs to use new common lib