added shared object script with changes merged.