removing duplicated folders inside script folder