removing duplicated scripts