remove unneeded duplicate copies of scripts