remove duplication of scripts