removing duplication deom scripts